[XM-TEST] Fixes a parameter to the external tools used
authorKeir Fraser <keir@xensource.com>
Thu, 20 Sep 2007 12:30:14 +0000 (13:30 +0100)
committerKeir Fraser <keir@xensource.com>
Thu, 20 Sep 2007 12:30:14 +0000 (13:30 +0100)
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/xm-test/lib/XmTestLib/acm.py

index 5456da6453c9f3796708d54e462d0b6517e8a22b..23564b50963297b7d12da6c19d35c89beaf35968 100644 (file)
@@ -49,7 +49,7 @@ def ACMLoadPolicy_XenAPI(policy='xm-test'):
     if polname != policy:
         # Try it, maybe it's not activated
         traceCommand("xm setpolicy %s %s" %
-                     (xsconstants.XS_POLICY_ACM, policy))
+                     (xsconstants.ACM_POLICY_ID, policy))
         polname = getSystemPolicyName()
         if polname != policy:
             FAIL("Need to have a system with no or policy '%s' active, "